import { Outlet, Link } from "react-router-dom";
const Layout = () => {
    return (
        <>
            <div className='page-header'>
                <h1>
                    路由器定义<small>路由器定义</small>
                </h1>
            </div>
            <div className='page-content'>
                <div className='wrapper wrapper1'>
                    <div className='btn-group' style={{ marginBottom: 20 }}>
                        <Link to='/' className='btn btn-primary'>
                            HOME
                        </Link>
                        <Link to='/about' className='btn btn-primary'>
                            ABOUT
                        </Link>
                        <Link to='/notfound' className='btn btn-primary'>
                            NOT FOUND
                        </Link>
                    </div>
                    <Outlet />
                </div>
            </div>
        </>
    );
};

export default Layout;
